<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"%>
<%@ taglib tagdir="/WEB-INF/tags" prefix="iamform" %>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>TravelSky IAM GUI</title>
<jsp:include page="include/html_head.jsp" />
</head>
<body class="claro">
	<div dojoType="dijit.layout.BorderContainer" design="headline" gutters="false" liveSplitters="true" style="width: 100%; height: 100%;">
		<!-- Banner -->
		<div dojoType="dijit.layout.ContentPane" splitter="false" region="top" style="height: 105px; padding: 0px; margin-bottom: 3px;">
			<tiles:insertAttribute name="banner" />
		</div>
		<!-- Leading -->
		<tiles:importAttribute name="leading" toName="leading" ignore="true" scope="page" />
		<c:if test="${leading ne null}">
			<div dojoType="dijit.layout.ContentPane" splitter="true" region="left" style="width: 240px; padding: 3px;">
				<tiles:insertAttribute name="leading" />
			</div>
		</c:if>
		<!-- Body -->
		<div dojoType="dijit.layout.ContentPane" splitter="true" region="center" style="padding: 5px;">
			<div dojoType="dijit.layout.BorderContainer" design="sidebar" gutters="true" liveSplitters="false" id="borderContainer" style="height: 100%; border: 0; margin: 0; padding: 0;">
				<!-- Wizard or Location -->
				<c:if test="${wizardModel ne null}">
					<div dojoType="dijit.layout.ContentPane" splitter="false" liveSplitters="false" region="top" style="border: 0; margin: 0; padding: 0;">
						<!-- SmartWizard -->
						<iamform:wizard-panel>
							<c:forEach var="wizardStep" items="${wizardModel.steps}" varStatus="wizardStep_Status">
								<iamform:wizard-item stepNumber="${wizardStep_Status.count}" status="${wizardStep.status}" label="${wizardStep.name}" description="${wizardStep.description}" />
							</c:forEach>
						</iamform:wizard-panel>
					</div>
				</c:if>
				<!-- Content Body -->
				<div dojoType="dijit.layout.ContentPane" splitter="true" region="center" style="border: 0; margin: 0; padding: 0;">
					<tiles:insertAttribute name="body" />
				</div>
			</div>
		</div>
		<!-- Footer -->
		<div dojoType="dijit.layout.ContentPane" splitter="false" region="bottom" style="height: 24px; padding: 0;">
			<tiles:insertAttribute name="footer" />
		</div>
	</div>
</body>
</html>